<template>
  <div id="userLayout">
    <a-layout style="height: 400px">
      <a-layout-header class="header">
        <a-space>
          <img src="@/assets/logo.png" class="logo" />
          <div>狗哥OJ</div>
        </a-space>
      </a-layout-header>
      <a-layout-content class="content">
        <router-view />
      </a-layout-content>
      <a-layout-footer class="footer">
        狗哥的毕设项目 ZNOJ在线判题系统 by
        <a href="https://gitee.com/zhao-ning123">程序员狗哥</a>
      </a-layout-footer>
    </a-layout>
  </div>
</template>

<style scoped>
#userLayout {
  text-align: center;
}
#userLayout .logo {
  width: 64px;
}

#userLayout .content {
  background: linear-gradient(to bottom, #eee, #fff);
  margin-bottom: 16px;
  padding: 20px;
}

#userLayout .footer {
  background: #efefef;
  padding: 16px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
}
</style>
<script setup lang="ts"></script>
